<div class="container">
{{if user:group_id == 1}}

    {{if rooms}}
    <div class="tree" style="overflow:hidden">
    <ul class="list so-do">
    {{rooms}}
</ul>
</div>
{{endif}}
<div class="clr"></div>
{{endif}}

<div id="filters">
<?php echo form_open();?>	
	<?php if(isset($employees_select)) { ?>
	<!--danh sach nhan vien phong ban-->
	<?php echo form_dropdown('user_id',array(''=>'---'.lang('profile:employees').'---') + $employees_select,'','class="chosen" style="min-width:180px"'  ) ?>
	<?php 
		$m = date("m", strtotime("-1 month"));
		echo form_dropdown('month',$month_select,$m,'class="chosen" style="min-width:180px"'  ) ?>
	<?php } else { ?>
		<?php echo form_dropdown('month',array(''=>'---'.lang('global:all').'---') + $month_select,'','class="chosen" style="min-width:180px"'  ) ?>
	<?php } ?>
	<?php echo form_dropdown('year',array(''=>lang('salary:year')) + $year_select,date("Y"),'class="chosen" style="min-width:180px"'  ) ?>
	
	
<?php echo form_close();?>
</div>

<div id="filter-stage">
	<?php template_partial('partial/list') ?>
</div>	
</div>